package cn.tataben.sharding.base;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
public class DataResponse<T> extends Response {
    
    private T data;

    public DataResponse(T data){
        this.data = data;
    }

    public DataResponse<T> fill(String[] err) {
        super.fill(err);
        return this;
    }

}